package com.qwert.shortlink.admin.remote.dto.req.shortlink;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 短链接修改请求参数
 * @author qwert
 * @version 1.0.0
 * @create 2024/7/3 16:53
 **/
@Data
public class ShortLinkUpdateReqDTO {
    private String gid;
//    private String domain;
    private String shortUri;
    private String fullShortUrl;
    private String originUrl;

    private String favicon;
    private Integer enableStatus;
    private Integer validDateType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date validDate;
    @TableField("`describe`")
    private String describe;

//    private Integer clickNum;
//    private Integer totalPv;
//    private Integer totalUv;
//    private Integer totalUip;
}
